// 违章新增
import httpAPI from '../../utils/http.js'

export default {
  /**
   * 违章新增
   */
  addViolation(params) {
    return httpAPI.post('system/builder/illegalrecord/save', params)
  },
  /**
   * 查询施工人员列表
   */
  getBuilderList(projectId, params) {
    return httpAPI.get(`system/builder/${projectId}/list`, params)
  }
}
